//
//  ALExItemView.swift
//  onemeetingmac
//
//  Created by 张衡 on 2020/3/5.
//  Copyright © 2020 onemeeting. All rights reserved.
//

import Foundation

class ALExItemView: NSView {
    
    lazy var trackingArea: NSTrackingArea = {
         let trackingArea = NSTrackingArea.init(rect: self.bounds, options: [NSTrackingArea.Options.mouseEnteredAndExited,NSTrackingArea.Options.activeAlways], owner: self, userInfo: nil)
        return trackingArea
    }()
    override func draw(_ dirtyRect: NSRect) {
        self.addTrackingArea(trackingArea)
        super.draw(dirtyRect)
    }
    
    
}
